background

fun background(id: Identifier): PopupWidget.Builder

Defines a custom background texture for the popup. Should be a Nine Slice texture

NOTE: The border padding on a Popup is 8, inclusive of visual border and any "blank space" between the border and edges of elements.

Return

Builder - this builder for further use

Author

fzzyhmstrs

Since

0.2.0

Parameters

id

Identifier - the sprite identifier of the custom background